package com.dbq.fast.business.me.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by yuanchen on 2018/5/4.
 */

public class RewardInfo implements Serializable {
    /**
     * awardList : [{"id":5,"inviterVpnId":"12345678","inviteeVpnId":"11188881","price":"251.58","award":"2222","level":1,"create":1526459233000},{"id":4,"inviterVpnId":"12345678","inviteeVpnId":"1111145","price":"251.58","award":"503.16","level":2,"create":1526459233000},{"id":3,"inviterVpnId":"12345678","inviteeVpnId":"1111111","price":"251.58","award":"503.16","level":3,"create":1526459233000}]
     * curPage : 1
     * totalPage : 1
     */

    private int curPage;
    private int totalPage;
    private List<AwardListBean> awardList;

    public int getCurPage() {
        return curPage;
    }

    public void setCurPage(int curPage) {
        this.curPage = curPage;
    }

    public int getTotalPage() {
        return totalPage;
    }

    public void setTotalPage(int totalPage) {
        this.totalPage = totalPage;
    }

    public List<AwardListBean> getAwardList() {
        return awardList;
    }

    public void setAwardList(List<AwardListBean> awardList) {
        this.awardList = awardList;
    }

    public static class AwardListBean implements Serializable{
        /**
         * id : 5
         * inviterVpnId : 12345678
         * inviteeVpnId : 11188881
         * price : 251.58
         * award : 2222
         * level : 1
         * create : 1526459233000
         */

        private int id;
        private String inviterVpnId;//邀请人的id
        private String inviteeVpnId;//被邀请人的id
        private String price;
        private String award;
        private int level;
        private long create;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getInviterVpnId() {
            return inviterVpnId;
        }

        public void setInviterVpnId(String inviterVpnId) {
            this.inviterVpnId = inviterVpnId;
        }

        public String getInviteeVpnId() {
            return inviteeVpnId;
        }

        public void setInviteeVpnId(String inviteeVpnId) {
            this.inviteeVpnId = inviteeVpnId;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public String getAward() {
            return award;
        }

        public void setAward(String award) {
            this.award = award;
        }

        public int getLevel() {
            return level;
        }

        public void setLevel(int level) {
            this.level = level;
        }

        public long getCreate() {
            return create;
        }

        public void setCreate(long create) {
            this.create = create;
        }

        @Override
        public String toString() {
            return "AwardListBean{" +
                    "id=" + id +
                    ", inviterVpnId='" + inviterVpnId + '\'' +
                    ", inviteeVpnId='" + inviteeVpnId + '\'' +
                    ", price='" + price + '\'' +
                    ", award='" + award + '\'' +
                    ", level=" + level +
                    ", create=" + create +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "RewardInfo{" +
                "curPage=" + curPage +
                ", totalPage=" + totalPage +
                ", awardList=" + awardList +
                '}';
    }

}
